import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
// 全局注册
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

//请求拦截
import './axios' 
// 路由拦截
import './permission' 

//Element-UI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// usemavonEditor
Vue.use(mavonEditor)

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.use(ElementUI);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
